<template>
  <div id="Xqdi">
    <router-link to="/Carshopping">
    <section class="n1">加入购物车</section>
    </router-link>
    <router-link to="/Carshopping">
    <section class="n2">立即购买</section>
    </router-link>
    
  </div>
</template>

<script>
export default {

}
</script>

<style scoped>
#Xqdi{
  width: 100%;
  height: .7rem;
  /* background-color: blueviolet; */
  margin-bottom: .05rem;
  display: flex;
  justify-content: space-between;
  align-content: center;
  padding-left: .1rem;
  padding-right: .1rem;
}
#Xqdi .n1,.n2{
  width: 1.5rem;
  height: .43rem;
  background-color: darkgoldenrod;
  border-radius: .1rem;
  margin: auto;
  text-align: center;
  font-size: .18rem;
  font-weight: 700;
  line-height: .45rem;
  
}
#Xqdi .n1{
  background-color: red;
}
#Xqdi .n1:hover{
  background-color: darkred;
}
#Xqdi .n2{
  background-color: #00CBCC;
}
#Xqdi .n2:hover{
  background-color: darkslateblue;
}


</style>